﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ExpressionEvaluator
{
	/// <summary>
	/// Code type enum.
	/// </summary>
	/// <remarks>
	/// Please note, that values represents position in parser regex (index starts at 1!!).
	/// </remarks>
	public enum CodeTypeEnum
	{
		/// <summary>
		/// Text type (text in quotes).
		/// </summary>
		Text = 1,
		/// <summary>
		/// Executable type means code to execute (parameters, objects, functions, properties)
		/// </summary>
		Executable = 2,
		/// <summary>
		/// Delimiter type contains: ()[],.
		/// </summary>
		Delimiter = 3,
		/// <summary>
		/// Anything else what not match previous types and do not have empty spaces inside
		/// </summary>
		Operation = 4
	}
}
